package io.renren.modules.oa.controller.api;

import java.io.Serializable;

public class AttendanceModel implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 * 成员名称
	 */
	private String name;
	private String userid;
	/**
	 * 头像url
	 */
	private String avatar;
	private Integer fanbu;
	private Integer jiaban;
	
	public AttendanceModel(){
		
	}
	
	public AttendanceModel(String userid,String name,String avatar,Integer fanbu,Integer jiaban){
		this.userid = userid;
		this.name = name;
		this.avatar = avatar;
		this.fanbu = fanbu;
		this.jiaban = jiaban;
	}
	public Integer getFanbu() {
		return fanbu;
	}
	public void setFanbu(Integer fanbu) {
		this.fanbu = fanbu;
	}
	public Integer getJiaban() {
		return jiaban;
	}
	public void setJiaban(Integer jiaban) {
		this.jiaban = jiaban;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}
	
	public void addJiaban(){
		this.jiaban++;
	}
	
	public void addFanbu(){
		this.fanbu++;
	}
	
}
